<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<title>My Project: f_cUVGenerate类 参考</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">My Project
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.8.1 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'搜索');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>首页</span></a></li>
      <li class="current"><a href="annotated.html"><span>类</span></a></li>
      <li><a href="files.html"><span>文件</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="搜索" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>类列表</span></a></li>
      <li><a href="classes.html"><span>类索引</span></a></li>
      <li><a href="hierarchy.html"><span>类继承关系</span></a></li>
      <li><a href="functions.html"><span>类成员</span></a></li>
    </ul>
  </div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>全部</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>类</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>函数</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>变量</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-static-methods">静态 Public 成员函数</a>  </div>
  <div class="headertitle">
<div class="title">f_cUVGenerate类 参考</div>  </div>
</div><!--header-->
<div class="contents">

<p>用来生成为球或圆柱网格的UV。 由于，填充顶点缓冲的时候需要一个类型，因此只能显示写出，通过函数名区别，以应对 以后的扩展。  
 <a href="classf__c_u_v_generate.html#details">更多...</a></p>

<p><code>#include &lt;<a class="el" href="uv__generate_8h_source.html">uv_generate.h</a>&gt;</code></p>

<p><a href="classf__c_u_v_generate-members.html">所有成员列表.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2><a name="pub-static-methods"></a>
静态 Public 成员函数</h2></td></tr>
<tr class="memitem:a5ceb1175b52bb2aba72c411fee30e857"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classf__c_u_v_generate.html#a5ceb1175b52bb2aba72c411fee30e857">sphere_LightTex</a> (IDirect3DDevice9 *pDevice, ID3DXMesh *&amp;pSphere, D3DVERTEXELEMENT9 *pWantVertexELe)</td></tr>
<tr class="memdesc:a5ceb1175b52bb2aba72c411fee30e857"><td class="mdescLeft">&#160;</td><td class="mdescRight">将球网格顶点格式升级为:D3DFVF_XYZ | D3DFVF_NORMAL | D3DFVF_TEX1  <a href="#a5ceb1175b52bb2aba72c411fee30e857"></a><br/></td></tr>
<tr class="memitem:aa32a730d80268861fe4851aad208a3b8"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classf__c_u_v_generate.html#aa32a730d80268861fe4851aad208a3b8">Cylinder_LightTex</a> (IDirect3DDevice9 *pDevice, ID3DXMesh *&amp;pCylinder, D3DVERTEXELEMENT9 *p, int axis=2)</td></tr>
<tr class="memdesc:aa32a730d80268861fe4851aad208a3b8"><td class="mdescLeft">&#160;</td><td class="mdescRight">将圆柱体网格顶点格式升级为:D3DFVF_XYZ | D3DFVF_NORMAL | D3DFVF_TEX1  <a href="#aa32a730d80268861fe4851aad208a3b8"></a><br/></td></tr>
</table>
<hr/><a name="details" id="details"></a><h2>详细描述</h2>
<div class="textblock"><p>用来生成为球或圆柱网格的UV。 由于，填充顶点缓冲的时候需要一个类型，因此只能显示写出，通过函数名区别，以应对 以后的扩展。 </p>
</div><hr/><h2>成员函数说明</h2>
<a class="anchor" id="aa32a730d80268861fe4851aad208a3b8"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static void f_cUVGenerate::Cylinder_LightTex </td>
          <td>(</td>
          <td class="paramtype">IDirect3DDevice9 *&#160;</td>
          <td class="paramname"><em>pDevice</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">ID3DXMesh *&amp;&#160;</td>
          <td class="paramname"><em>pCylinder</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">D3DVERTEXELEMENT9 *&#160;</td>
          <td class="paramname"><em>p</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>axis</em> = <code>2</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>将圆柱体网格顶点格式升级为:D3DFVF_XYZ | D3DFVF_NORMAL | D3DFVF_TEX1 </p>
<dl class="params"><dt>参数:</dt><dd>
  <table class="params">
    <tr><td class="paramname">axis</td><td>=2;表示Z轴，圆柱体是沿着Z轴为长度的。 </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a5ceb1175b52bb2aba72c411fee30e857"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static void f_cUVGenerate::sphere_LightTex </td>
          <td>(</td>
          <td class="paramtype">IDirect3DDevice9 *&#160;</td>
          <td class="paramname"><em>pDevice</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">ID3DXMesh *&amp;&#160;</td>
          <td class="paramname"><em>pSphere</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">D3DVERTEXELEMENT9 *&#160;</td>
          <td class="paramname"><em>pWantVertexELe</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>将球网格顶点格式升级为:D3DFVF_XYZ | D3DFVF_NORMAL | D3DFVF_TEX1 </p>
<dl class="params"><dt>参数:</dt><dd>
  <table class="params">
    <tr><td class="paramname">pWantVertexEle要变换成，的顶点格式。</td><td></td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<hr/>该类的文档由以下文件生成:<ul>
<li>E:/!代码工厂/3D引擎/<a class="el" href="uv__generate_8h_source.html">uv_generate.h</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
生成于 2012年 五月 27日 星期日 22:27:19 , 为 My Project使用  &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.1
</small></address>
</body>
</html>
